package lt.hsu.login.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "登录返回信息")
public class ResLogin {

    @Schema(description = "登录成功返回token")
    private String token;

    @Schema(description = "登录失败返回错误信息")
    private String error;

    @Schema(description = "登录成功返回用户信息")
    private String userInfo;

    @Schema(description = "登录成功返回用户角色")
    private String role;

    @Schema(description = "登录成功返回用户权限")
    private String permission;

}
